import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

// 当前选择的器部件
export const chargestrategyConfigStore = defineStore('chargestrategyConfigStore', () => {

  const nowStationAndLink = ref({}) //策略管理中当前选择的电站和电池堆

  function changeNowStationAndLink(data) {
    nowStationAndLink.value = data
  }

  return {
    nowStationAndLink,
    changeNowStationAndLink
  }
})
